﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TimetableSystem.Model
{
    /// <summary>
    /// A model object representing an Exam
    /// </summary>
    public class Exam
    {
        public Exam(Guid examId, DateTime startTime, DateTime endTime, string location)
        {
            ExamId = examId;
            StartTime = startTime;
            EndTime = endTime;
            Location = location;
        }
        Guid ExamId { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public string Location { get; set; }
    }
}
